#!/bin/bash

# Test
if test ! -x loLargePFWSearch -o ! -x loLargePFWSearch.obj; then
  echo "Program is missing or cannot execute";
  exit 1;
fi

# Create objectmap
objmapfile=/tmp/lopfwobjmap$$.tmp
./loLargePFWSearch.obj -listlong > $objmapfile

# Run the program
parocrun $objmapfile ./loLargePFWSearch $*

rm $objmapfile
